home *** CD-ROM | disk | FTP | other *** search
/ Aminet 30 / Aminet 30 (1999)(Schatztruhe)[!][Apr 1999].iso / Aminet / dev / misc / IOBlixDevKitR2.lha / IOBlixDevKit / C / include / ioblix / extfifo.h < prev    next >
C/C++ Source or Header  |  1999-02-01  |  773b  |  32 lines

  1. /*
  2. **      $VER: ioblix/extfifo.h 37.1 (3.1.99)
  3. **
  4. **      include file for access to IOBlix onboard FIFOs
  5. **
  6. **      (C) Copyright 1998,1999 Thore Böckelmann
  7. **      All Rights Reserved.
  8. */
  9.  
  10. #ifndef IOBLIX_EXTFIFO_H
  11. #define IOBLIX_EXTFIFO_H 1
  12.  
  13. /* status flags for external FIFOs */
  14. /* all flags are negative logic, ie WFIFOF_FULL set means FIFO is NOT full */
  15.  
  16. #define RFIFOB_FULL 0
  17. #define RFIFOF_FULL (1 << RFIFOB_FULL)
  18. #define RFIFOB_HFULL 1
  19. #define RFIFOF_HFULL (1 << RFIFOB_HFULL)
  20. #define RFIFOB_EMPTY 2
  21. #define RFIFOF_EMPTY (1 << RFIFOB_EMPTY)
  22.  
  23. #define WFIFOB_FULL 4
  24. #define WFIFOF_FULL (1 << WFIFOB_FULL)
  25. #define WFIFOB_HFULL 5
  26. #define WFIFOF_HFULL (1 << WFIFOB_HFULL)
  27. #define WFIFOB_EMPTY 6
  28. #define WFIFOF_EMPTY (1 << WFIFOB_EMPTY)
  29.  
  30. #endif /* IOBLIX_EXTFIFO_H */
  31.  
  32.